/**
 * @(#)com.framework.web.common.domain.BusinessConstants
 *
 * Copyright (c) 2014-2018 上海纬视瑞科技有限公司
 *
 * DESC:
 *
 */
package com.framework.web.common.domain;

/**
 *  业务产量类
 * @author fusf
 * @version 1.0  2016/8/31
 */
public interface BusinessConstants {

    /**
     * 性别
     * @author fusf
     * @version 1.0 2016/8/31
     */
    interface  SEX {
        /** 男 */
        public static final String MAX = "ma";
        /** 女 */
        public static final String FE = "fe";
    }

    /**
     * 逻辑删除状态
     * @author zqtao
     * @version 1.0 2016/9/10
     */
    interface STATUS{
        /*正常状态*/
        public static final Integer NORMAL = 0;
        /*删除状态*/
        public static final Integer remove = 1;


    }

    interface ORDER_STATUS{
        public static final Integer NON_PAYMENT = 0;  //未付款
        public static final Integer NON_SHIPMENTS = 1; //已付款未发货
        public static final Integer NON_ACCEPTANCE = 2; //已发货未确定收货
        public static final Integer NON_EVALUATE = 3; //已确认收货未评价
        public static final Integer SUCCESS = 4; //交易成功
        public static final Integer INVALID = 5; //已作废
    }

    /**
     * 点赞状态
     */
    interface THUMBSTATE {
         /*有效状态*/
        public static final Integer EFFECTIVE = 0;
        /*无效状态*/
        public static final Integer INVALID = 1;
    }

    /**
     * 微信接口返回状态码
     */
    interface WECHAT_STATUS {
        public static final Integer SUCCESS = 1;
        public static final Integer E50010003 = 50010003;
        public static final Integer E50010002 = 50010002;
    }

    /**
     * 是否已读
     */
    interface  IS_READ {
        /**已读**/
        public static final String YES = "0";
        /**未读**/
        public static final String NO = "1";

    }

     /**
     * 是否默认地址
     */
    interface  DEFAULTS_ADDRESS {
        /**是**/
        public static final Integer YES = 1;
        /**否**/
        public static final Integer NO = 2;

    }
     /**
     * 是否点赞
     */
    interface  CLICK_LIKE {
        /**是**/
        public static final Integer YES = 1;
        /**否**/
        public static final Integer NO = 0;

    }

    /**
     * 付款状态
     */
    interface  PAY_STATUS {
        /**付款成功**/
        public static final String ORDER_SUCCESS_CODE = "0";
        /**付款失败**/
        public static final String ORDER_FAIL_CODE = "1";

    }

    /**
     * 快递状态 -1 待查询 0 查询异常 1 暂无记录 2 在途中 3 派送中 4 已签收 5 用户拒签 6 疑难件 7 无效单
     */
    interface  EXPRESS_STATUS {
        /** -1 待查询**/
        public static final Integer PENDING_QUERY = -1;
        /**0 查询异常**/
        public static final Integer QUERY_EXCEPTION = 0;
         /**1 暂无记录**/
        public static final Integer NO_RECORD = 1;
         /**2 在途中**/
        public static final Integer ON_THE_WAY = 2;
        /**3 派送中**/
        public static final Integer DELIVERY = 3;
         /**4 已签收**/
        public static final Integer ALREADY_SIGN = 4;
         /**5 用户拒签**/
        public static final Integer USER_REFUSED = 5;
         /**6 疑难件**/
        public static final Integer DIFFICULT_PIECES = 6;
         /**7无效单**/
        public static final Integer INVALID_SINGLE = 7;


    }

}
